powered by
count_homologous counts the number of edges between homologous regions in a brain graph (e.g. between L and R superior frontal).
count_homologous
count_inter counts the number of edges between and within all vertices in one group (e.g. lobe, hemi, network, etc.).
count_inter
count_homologous(g)count_inter(g, group = c("lobe", "hemi", "network", "class", "gyrus", "Yeo_7network", "Yeo_17network", "area", "Brodmann"))
count_inter(g, group = c("lobe", "hemi", "network", "class", "gyrus", "Yeo_7network", "Yeo_17network", "area", "Brodmann"))
count_homologous - a named vector of the edge ID's connecting homologous regions
count_inter - a data.table of total, intra-, and inter-group edge counts
data.table
A brainGraph graph object
brainGraph
Character string specifying which grouping to calculate edge counts for. Default: 'lobe'
'lobe'
Christopher G. Watson, cgwatson@bu.edu
if (FALSE) { g1.lobecounts <- count_inter(g[[1]][[N]], 'lobe') }
Run the code above in your browser using DataLab